package org.jeecg.modules.car.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 用户房间绑定表
 * @Author: jeecg-boot
 * @Date:   2019-08-13
 * @Version: V1.0
 */
@Data
@TableName("cy_room_check_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="cy_room_check_user对象", description="用户房间绑定表")
public class CyRoomCheckUser {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
	private String userId;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
	private String userName;
	/**项目id*/
	@Excel(name = "项目id", width = 15)
    @ApiModelProperty(value = "项目id")
	private String projectId;
	/**需要绑定的房间id*/
	@Excel(name = "需要绑定的房间id", width = 15)
    @ApiModelProperty(value = "需要绑定的房间id")
	private String roomId;
	/**当前申请人填写的姓名*/
	@Excel(name = "当前申请人填写的姓名", width = 15)
    @ApiModelProperty(value = "当前申请人填写的姓名")
	private String applyName;
	/**申请人填写电话*/
	@Excel(name = "申请人填写电话", width = 15)
    @ApiModelProperty(value = "申请人填写电话")
	private String applyTel;
	/** 申请填写业主信息*/
	@Excel(name = " 申请填写业主信息", width = 15)
    @ApiModelProperty(value = " 申请填写业主信息")
	private String applyCusName;
	/**申请填写业主电话*/
	@Excel(name = "申请填写业主电话", width = 15)
    @ApiModelProperty(value = "申请填写业主电话")
	private String applyCusTel;
	/**认证地址*/
	@Excel(name = "认证地址", width = 15)
    @ApiModelProperty(value = "认证地址")
	private String address;
	/**认证类型(1.业主,2.同住人,3.租客)*/
	@Excel(name = "认证类型(1.业主,2.同住人,3.租客)", width = 15)
    @ApiModelProperty(value = "认证类型(1.业主,2.同住人,3.租客)")
	private Integer idType;
	/**检查状态(0.待审核,1通过,-1拒绝)*/
	@Excel(name = "检查状态(0.待审核,1通过,-1拒绝)", width = 15)
    @ApiModelProperty(value = "检查状态(0.待审核,1通过,-1拒绝)")
	private Integer auditRes;
	/**审批者id*/
	@Excel(name = "审批者id", width = 15)
    @ApiModelProperty(value = "审批者id")
	private String auditBy;
	/**审核备注*/
	@Excel(name = "审核备注", width = 15)
    @ApiModelProperty(value = "审核备注")
	private String auditComment;
	/**审核日期*/
	@Excel(name = "审核日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核日期")
	private Date auditDate;
	/**imgUrl*/
	@Excel(name = "imgUrl", width = 15)
    @ApiModelProperty(value = "imgUrl")
	private String imgUrl;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private String createBy;
	/**createDate*/
	@Excel(name = "createDate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createDate")
	private Date createDate;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**updateDate*/
	@Excel(name = "updateDate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateDate")
	private Date updateDate;
	/**remarks*/
	@Excel(name = "remarks", width = 15)
    @ApiModelProperty(value = "remarks")
	private String remarks;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	@TableLogic
	private String delFlag;
}
